<%--
*
*描述：常见问题表SYSTEM_FAQ的edit文件
*
* @author tch
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="f" uri="/flowpage-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title><s:property value="operate"/>常见问题</title>
	<%@include file="/share/header.jsp"%>
	<s:head/>
	<f:header theme="${sessionScope.skinCon.pageSkin}"/>	
  </head>
  <body>
  <s:actionerror/>
	    <s:form  action="save" namespace="/system/faq" validate="true" focusElement="domain.type">
		    <s:select id="type" name="domain.type" label="类型"  editSelect="%{isSuperAdministrator()&&!readonly?'faq_type':''}" required="true" list="getCodeItemList('faq_type')" listKey="value" listValue="name" />
		    <s:select name="domain.state" label="状态"  required="true" list="getCodeItemList('yes_no')" listKey="value" listValue="name" />
		    <s:textarea name="domain.question" label="问题"  required="true" multipleheight="2" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="2000"  maxlength="2000"/>
		    <s:textarea name="domain.answer" label="解答"  required="true" multipleheight="10" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}"/>
		    <s:textfield name="domain.publishDate" label="发布时间" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="Date"  >
			<s:param name="value">
		    	    <s:date name="domain.publishDate" format="yyyy-MM-dd"/>
		    	</s:param>
		    </s:textfield>
		   <s:textfield name="domain.sequence" label="顺序" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="Number"   maxlength="8"/>
		    <s:textarea name="domain.remark" label="备注"  required="false" multipleheight="2" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="2000"  maxlength="2000"/>
		    
	    </s:form>
  </body>
</html>
